package com.xt.purchasingsystem.mapper;


import com.xt.purchasingsystem.model.SGatherDetails;

import java.util.List;

public interface SGatherDetailsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SGatherDetails record);

    /**
     * 根据入库编号查询此入库单的所有入库明细
     * @param sgatherId
     * @return
     */
    List<SGatherDetails> getAllSGatherDetailsBySGatherId(Integer sgatherId);
    int insertSelective(SGatherDetails record);

    SGatherDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SGatherDetails record);

    int updateByPrimaryKey(SGatherDetails record);
}